package org.dreamwork.assistant.tools.persistence.jfx;

import javafx.application.Application;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.ComboBox;
import javafx.stage.Screen;
import javafx.stage.Stage;

import java.net.URL;

public class Main extends Application {
    @FXML
    private ComboBox<String> cmbFile;

    public static void main (String[] args) {
        Application.launch (args);
    }

    @Override
    public void start (Stage stage) throws Exception {
        URL url = getClass ().getClassLoader ().getResource ("jfx/persistence-main-frame.fxml");
        Parent root = FXMLLoader.load (url);

        Scene scene = new Scene (root);
        stage.setScene (scene);
        stage.show ();
    }
}
